/*
 * @Author: fanjs
 * @Date: 2025-04-17 15:48:05
 * @Description: 添加其他操作类型
 */
'use strict';

/** @type {import('sequelize-cli').Migration} */
module.exports = {
  async up (queryInterface, Sequelize) {
    await queryInterface.addColumn('record', 'other_type', {
      type: Sequelize.STRING,
      allowNull: true,
      comment: '其他操作类型',
    })
  },

  async down (queryInterface, Sequelize) {
    await queryInterface.removeColumn('record', 'other_type')
  }
};
